package com.twu.biblioteca;
import java.util.Date;

public class Book {

    private String title;
    private Date addedOn;
    private String author, subject;
    private long isbn, numberOfCopies;


    public Book(String title, Date addedOn, String author, String subject, long isbn, long numberOfCopies)

    {
        this.title = title;
        this.addedOn = addedOn;
        this.author = author;
        this.subject = subject;
        this.isbn = isbn;
        this.numberOfCopies = numberOfCopies;
        LibraryShelves libraryShelves = new LibraryShelves();
        libraryShelves.addBook(this);

    }

    public long getNumberOfCopies() {
        return numberOfCopies;
    }
    public String getTitle() {
        return title;
    }
    public String getAuthor() {
        return author;
    }

    public void setNumberOfCopies(long bookNumberOfCopies) {
        numberOfCopies = bookNumberOfCopies;
    }

}
